<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
#include "config.cfg"
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
  <head>
    <title>$c_title</title>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" type="text/css" href="ss/styles.css" media="screen,projection"/>
    <link rel="alternate" type="application/rss+xml" title="RSS" href="rss.xml"/>
<script type="text/javascript">
// I don't know where I stole this. Excuse me.
var req;
var documentid;

function toggle(obj) {
	var el = document.getElementById(obj);
	if ( el.style.display != 'none' ) {
		el.style.display = 'none';
	} else {
		el.style.display = '';
	}
}

function loadXMLDoc(url, toid) {
    req = false;
    id = "";
    if(window.XMLHttpRequest) {
    	try {
			req = new XMLHttpRequest();
        } catch(e) {
			req = false;
        }
    } else if(window.ActiveXObject) {
       	try {
        	req = new ActiveXObject("Msxml2.XMLHTTP");
      	} catch(e) {
        	try {
          		req = new ActiveXObject("Microsoft.XMLHTTP");
        	} catch(e) {
          		req = false;
        	}
		}
    }
    if(req) {
         documentid = toid
         req.onreadystatechange = processReqChange;
	req.open("GET", url, true);
	req.send("");
     }
}

function processReqChange() {
    // only if req shows "loaded"
    if (req.readyState == 4) {
        // only if "OK"
        if (req.status == 200) {
            mydoc = document.getElementById(documentid);
            mydoc.innerHTML = "";
            // blast new HTML content into "details" <div>
            mydoc.innerHTML = req.responseText;
        } else {
            alert("There was a problem retrieving the XML data:\n" +
                req.statusText);
        }
    }
}

</script>
</head>
<body>
  <div id="container">
    <div id="header">
      <h1><a href="#">$c_header[:3]<strong>$c_header[3:]</strong></a></h1>
      <ul id="nav">
#include "menu.html"
      </ul>
    </div>
    <div id="content">
